<%--
  Created by IntelliJ IDEA.
  User: wty_5
  Date: 2018/8/11
  Time: 15:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>跳转...</title>
</head>
<body>
<%
    if (session.getAttribute("user")==null&&session.getAttribute("mgr")!=null){

        request.getRequestDispatcher("WEB-INF/views/mgr.jsp").forward(request,response);
    }else if (session.getAttribute("mgr")==null&&session.getAttribute("user")==null){
        request.getRequestDispatcher("index.jsp").forward(request,response);
    }
%>
</body>
</html>
